﻿using System;

namespace Prometheus.TypeUtility
{
    public class SomethingInvalidException : Exception
    {
        private readonly int _customData;

        public SomethingInvalidException(Exception innerException)
            : base(string.Empty, innerException)
        {
        }

        public SomethingInvalidException()
        {
        }

        public SomethingInvalidException(int customData)
        {
            _customData = customData;
        }

        public int CustomData
        {
            get { return _customData; }
        }
    }
}